package com.chennan.pattern.chain.gupao.general;

/**
 * @author chennan
 * @create 2022-02
 */
public abstract class Handler {
    protected Handler nextHandler;

    public void setNextHandler(Handler successor) {
        this.nextHandler = successor;
    }

    public abstract void handleRequest(String request);
}
